package com.goods.business.service;

import com.goods.common.model.business.Consumer;
import com.goods.common.vo.business.ConsumerVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

public interface ConsumerService {
    PageVO<ConsumerVO> findConsumerList(Integer pageNum, Integer pageSize, String name, String address, String contact);

    void addConsumer(Consumer consumer);

    Consumer editConsumer(Long id);

    void updateConsumer(Consumer consumer);

    void deleteConsumer(Long id);

    List<Consumer> findAllConsumer();
}
